package x.trident.banner;

/**
 * @author xiaolong.song
 * @date 2018/6/6 13:20
 */
public class CustomBanner implements IBanner {

    @Override
    public BannerEntity getBannerEntity() {
        StringBuilder stringBuffer = new StringBuilder();
        stringBuffer.append("  **************** 三叉戟框架启动 ... *************** \n");

        stringBuffer.append(" ======================================================").append(",");
        stringBuffer.append("||                                                     ||").append(",");
        stringBuffer.append("||          Welcome To Trident Framework !             ||").append(",");
        stringBuffer.append("||                                                     ||").append(",");
        stringBuffer.append(" ======================================================").append(",");

        BannerEntity bannerEntity = new BannerEntity();
        bannerEntity.setBanner(stringBuffer);

        return bannerEntity;
    }

}

